import { request } from "@/utils"

// 登录
export function loginApi(data){
  return request({
    url:'/authorizations',
    method:'POST',
    data
  })
}
export function getProfileApi(){
  return request({
    url:'/user/profile',
    method:'GET',
  })
}